package com.itheima.test4;

public class Testy {
    private static String a="哈哈";
    public static void main(String[] args) {
        int i=10;
        System.out.println(i);
        class Inner{
            int j=20;
            public void dance(){
                System.out.println(i);
                System.out.println(a);
                System.out.println("bengdi");
            }
        }
        Inner inner = new Inner();
        System.out.println(inner.j);
        inner.dance();


    }

    public void sing(){
       // System.out.println(i);
    }
}
